home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 7
/
Amiga Format AFCD07 (Dec 1996, Issue 91).iso
/
serious
/
shareware
/
programming
/
aros
/
exec
/
remresource.c
< prev
next >
Wrap
C/C++ Source or Header
|
1996-09-12
|
1KB
|
68 lines
/*
(C) 1995-96 AROS - The Amiga Replacement OS
$Id: remresource.c,v 1.4 1996/08/13 13:56:07 digulla Exp $
$Log: remresource.c,v $
Revision 1.4 1996/08/13 13:56:07 digulla
Replaced __AROS_LA by __AROS_LHA
Replaced some __AROS_LH*I by __AROS_LH*
Sorted and added includes
Revision 1.3 1996/08/01 17:41:17 digulla
Added standard header for all files
Desc:
Lang: english
*/
#include <exec/execbase.h>
#include <aros/libcall.h>
#include <dos/dos.h>
/*****************************************************************************
NAME */
#include <clib/exec_protos.h>
__AROS_LH1(void, RemResource,
/* SYNOPSIS */
__AROS_LHA(APTR, resource,A1),
/* LOCATION */
struct ExecBase *, SysBase, 82, Exec)
/* FUNCTION
Removes a resource from the system resource list.
INPUTS
resource - Pointer to the resource.
RESULT
NOTES
EXAMPLE
BUGS
SEE ALSO
AddResource(), OpenResource()
INTERNALS
HISTORY
******************************************************************************/
{
__AROS_FUNC_INIT
/* Arbitrate for the resource list */
Forbid();
Remove((struct Node *)resource);
/* All done. */
Permit();
__AROS_FUNC_EXIT
} /* RemResource */